package com.jaeger.selectabletexthelper;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;

public class EditNoteActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_edit_note);
    }

    public void edit_close(){
        Intent intent=new Intent(this,MainActivity.class);
        startActivity(intent);
    }

    public void edit_note(){
        Toast.makeText(this,"笔记未保存",Toast.LENGTH_SHORT);
        finish();
    }
}
